class ZZZZZZ{}

class A implements Foo<ZZZ<caret>